﻿@using Nop.Core.Domain.Directory
@{
    var weightId = (int) this.Model;
    var weights = (IEnumerable<MeasureWeight>) this.ViewData["AvailableWeights"];
    var weight = weights.FirstOrDefault(p => p.Id == weightId);
}
@weight